﻿using System;

namespace PsqlDotnet.Enums
{
    [Flags]
    public enum PsqlProcessFlags
    {
        None = 0x0,

        /// <summary>
        /// Disable additional quotation of command text
        /// </summary>
        DisableCommandQuotes = 0x1,

        /// <summary>
        /// Disable -c switch before command text
        /// </summary>
        DisableCommandFlag = 0x02,

        /// <summary>
        /// Disable all switches to psql process
        /// </summary>
        CleanMode = 0x4,

        /// <summary>
        /// Save command into temp file and execute it against file
        /// instead of command line. This is useful for long scripts
        /// </summary>
        ExternalFile = 0x8
    }
}
